package com.bei_en.teacher.admin.model.users.condition;

import java.util.*;

import com.bei_en.teacher.admin.model.BaseCondition;

import javax.validation.constraints.*;

import org.hibernate.validator.constraints.*;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;

/**
 * 用于list页面的查询条件
 * 账户
 * @author Guocg
 * @date 2016-7-26 22:44:04
 */
public class LoginUsersCondition extends BaseCondition {
    private Date createTime1;   //生成时间起
    private Date createTime2;   //止
    @NotBlank(message="密码不能为空")
	private String password;  // 密码
	@NotBlank(message="手机号码不能为空")
	@Pattern(regexp = "^[1][34578][0-9]{9}$", message = "手机号码格式错误")
	private String mobilePhone;  // 手机号码
	
	public Date getCreateTime1() {
		return createTime1;
	}

	public void setCreateTime1(Date createTime1) {
		this.createTime1 = createTime1;
	}

	public Date getCreateTime2() {
		return createTime2;
	}

	public void setCreateTime2(Date createTime2) {
		this.createTime2 = createTime2;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

//    public Boolean getIsDel() {
//
//	return isDel;
//    }
//
//    public void setIsDel(Boolean isDel) {
//
//	this.isDel = isDel;
//    }


}